package com.dk;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @ClassName PlatformServiceApp
 * @Deacription TODO
 * @Author hqq
 * @Date 2021/10/29 12:28
 * @Version 1.0
 **/
@SpringBootApplication
@MapperScan("com.dk.mapper")
@EnableDiscoveryClient  //所有注册中心都能用,通用注解
@EnableSwagger2
public class PlatformServiceApp {
    public static void main(String[] args) {
        SpringApplication.run(PlatformServiceApp.class,args);
    }
}
